﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class 自动销毁 : MonoBehaviour
{
    public float 销毁时间 = 1.5f;
    public AudioClip 爆炸音效;

    void Start()
    {
        AudioSource.PlayClipAtPoint(爆炸音效, transform.position);
        Destroy(gameObject, 销毁时间);
    }
}
